package com.chcplayer.skin
{
/**
 * author yh
 */
public class BtnDownStateSkin extends BaseButtonSkinState
{
	/**
	 */
	public function BtnDownStateSkin()
	{
		super();
	}
//==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==
// protected
//==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==
	override protected function _Resize():void
	{
		super._Resize();
		this.graphics.clear();
		this.graphics.beginFill(0xd4d0c8);
		this.graphics.drawRect(0, 0, p_nW, p_nH);
		/*
		*/
		this.graphics.beginFill(0x808080);
		this.graphics.drawRect(0, 0, 1, p_nH-1);
		this.graphics.drawRect(1, 0, p_nW-1, 1);
		/*
		*/
		this.graphics.beginFill(0xf0f0f2);
		this.graphics.drawRect(0, p_nH-1, p_nW, 1);
		this.graphics.drawRect(p_nW-1, 1, 1, p_nH-2);
		graphics.endFill();
	}
}
}